<?php
use Illuminate\Routing\Router;

Route::group([
    'prefix' => 'admin/contentPool',
    'namespace' => 'Frieza\\Modules\\ContentPool\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {
    $router->get('/','ContentPoolController@index');
    $router->get('/create','ContentPoolController@create');
    $router->post('/save','ContentPoolController@save');
    $router->delete('/{id}','ContentPoolController@delete');
    $router->get('/{id}/edit','ContentPoolController@create');
    $router->get('/down','ContentPoolController@down');
});